Optimal. Leaf size=102 \[ -\frac{269 \text{EllipticF}\left (\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right ),-2\right )}{166600}-\frac{31 \sqrt{-x^4+x^2+2} x}{13328 \left (5 x^2+7\right )}+\frac{\sqrt{-x^4+x^2+2} x}{28 \left (5 x^2+7\right )^2}-\frac{31 E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{66640}+\frac{16601 \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{2332400} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.41383, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 21, number of rules used = 10, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.417, Rules used = {1228, 1223, 1696, 1716, 1180, 524, 424, 419, 1212, 537} \[ -\frac{31 \sqrt{-x^4+x^2+2} x}{13328 \left (5 x^2+7\right )}+\frac{\sqrt{-x^4+x^2+2} x}{28 \left (5 x^2+7\right )^2}-\frac{269 F\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{166600}-\frac{31 E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{66640}+\frac{16601 \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{2332400} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1228
Rule 1223
Rule 1696
Rule 1716
Rule 1180
Rule 524
Rule 424
Rule 419
Rule 1212
Rule 537
Rubi steps
\begin{align*} \int \frac{\sqrt{2+x^2-x^4}}{\left (7+5 x^2\right )^3} \, dx &=\int \left (-\frac{34}{25 \left (7+5 x^2\right )^3 \sqrt{2+x^2-x^4}}+\frac{19}{25 \left (7+5 x^2\right )^2 \sqrt{2+x^2-x^4}}-\frac{1}{25 \left (7+5 x^2\right ) \sqrt{2+x^2-x^4}}\right ) \, dx\\ &=-\left (\frac{1}{25} \int \frac{1}{\left (7+5 x^2\right ) \sqrt{2+x^2-x^4}} \, dx\right )+\frac{19}{25} \int \frac{1}{\left (7+5 x^2\right )^2 \sqrt{2+x^2-x^4}} \, dx-\frac{34}{25} \int \frac{1}{\left (7+5 x^2\right )^3 \sqrt{2+x^2-x^4}} \, dx\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{19 x \sqrt{2+x^2-x^4}}{476 \left (7+5 x^2\right )}-\frac{1}{700} \int \frac{186-190 x^2+25 x^4}{\left (7+5 x^2\right )^2 \sqrt{2+x^2-x^4}} \, dx+\frac{19 \int \frac{118-70 x^2-25 x^4}{\left (7+5 x^2\right ) \sqrt{2+x^2-x^4}} \, dx}{11900}-\frac{2}{25} \int \frac{1}{\sqrt{4-2 x^2} \sqrt{2+2 x^2} \left (7+5 x^2\right )} \, dx\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{31 x \sqrt{2+x^2-x^4}}{13328 \left (7+5 x^2\right )}-\frac{1}{175} \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )-\frac{\int \frac{37698-32690 x^2-12525 x^4}{\left (7+5 x^2\right ) \sqrt{2+x^2-x^4}} \, dx}{333200}-\frac{19 \int \frac{175+125 x^2}{\sqrt{2+x^2-x^4}} \, dx}{297500}+\frac{3173 \int \frac{1}{\left (7+5 x^2\right ) \sqrt{2+x^2-x^4}} \, dx}{11900}\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{31 x \sqrt{2+x^2-x^4}}{13328 \left (7+5 x^2\right )}-\frac{1}{175} \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )+\frac{\int \frac{75775+62625 x^2}{\sqrt{2+x^2-x^4}} \, dx}{8330000}-\frac{19 \int \frac{175+125 x^2}{\sqrt{4-2 x^2} \sqrt{2+2 x^2}} \, dx}{148750}-\frac{11783 \int \frac{1}{\left (7+5 x^2\right ) \sqrt{2+x^2-x^4}} \, dx}{66640}+\frac{3173 \int \frac{1}{\sqrt{4-2 x^2} \sqrt{2+2 x^2} \left (7+5 x^2\right )} \, dx}{5950}\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{31 x \sqrt{2+x^2-x^4}}{13328 \left (7+5 x^2\right )}+\frac{2697 \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{83300}+\frac{\int \frac{75775+62625 x^2}{\sqrt{4-2 x^2} \sqrt{2+2 x^2}} \, dx}{4165000}-\frac{19 \int \frac{1}{\sqrt{4-2 x^2} \sqrt{2+2 x^2}} \, dx}{2975}-\frac{19 \int \frac{\sqrt{2+2 x^2}}{\sqrt{4-2 x^2}} \, dx}{2380}-\frac{11783 \int \frac{1}{\sqrt{4-2 x^2} \sqrt{2+2 x^2} \left (7+5 x^2\right )} \, dx}{33320}\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{31 x \sqrt{2+x^2-x^4}}{13328 \left (7+5 x^2\right )}-\frac{19 E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{2380}-\frac{19 F\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{5950}+\frac{16601 \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{2332400}+\frac{263 \int \frac{1}{\sqrt{4-2 x^2} \sqrt{2+2 x^2}} \, dx}{83300}+\frac{501 \int \frac{\sqrt{2+2 x^2}}{\sqrt{4-2 x^2}} \, dx}{66640}\\ &=\frac{x \sqrt{2+x^2-x^4}}{28 \left (7+5 x^2\right )^2}-\frac{31 x \sqrt{2+x^2-x^4}}{13328 \left (7+5 x^2\right )}-\frac{31 E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{66640}-\frac{269 F\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{166600}+\frac{16601 \Pi \left (-\frac{10}{7};\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )}{2332400}\\ \end{align*}
Mathematica [C] time = 0.35361, size = 244, normalized size = 2.39 \[ \frac{7021 i \sqrt{2} \left (5 x^2+7\right )^2 \sqrt{-x^4+x^2+2} \text{EllipticF}\left (i \sinh ^{-1}(x),-\frac{1}{2}\right )+54250 x^7-144900 x^5-17850 x^3-2170 i \sqrt{2} \left (5 x^2+7\right )^2 \sqrt{-x^4+x^2+2} E\left (i \sinh ^{-1}(x)|-\frac{1}{2}\right )-415025 i \sqrt{2} \sqrt{-x^4+x^2+2} x^4 \Pi \left (\frac{5}{7};i \sinh ^{-1}(x)|-\frac{1}{2}\right )-1162070 i \sqrt{2} \sqrt{-x^4+x^2+2} x^2 \Pi \left (\frac{5}{7};i \sinh ^{-1}(x)|-\frac{1}{2}\right )-813449 i \sqrt{2} \sqrt{-x^4+x^2+2} \Pi \left (\frac{5}{7};i \sinh ^{-1}(x)|-\frac{1}{2}\right )+181300 x}{4664800 \left (5 x^2+7\right )^2 \sqrt{-x^4+x^2+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.021, size = 189, normalized size = 1.9 \begin{align*}{\frac{x}{28\, \left ( 5\,{x}^{2}+7 \right ) ^{2}}\sqrt{-{x}^{4}+{x}^{2}+2}}-{\frac{31\,x}{66640\,{x}^{2}+93296}\sqrt{-{x}^{4}+{x}^{2}+2}}-{\frac{269\,\sqrt{2}}{333200}\sqrt{-2\,{x}^{2}+4}\sqrt{{x}^{2}+1}{\it EllipticF} \left ({\frac{x\sqrt{2}}{2}},i\sqrt{2} \right ){\frac{1}{\sqrt{-{x}^{4}+{x}^{2}+2}}}}-{\frac{31\,\sqrt{2}}{133280}\sqrt{-2\,{x}^{2}+4}\sqrt{{x}^{2}+1}{\it EllipticE} \left ({\frac{x\sqrt{2}}{2}},i\sqrt{2} \right ){\frac{1}{\sqrt{-{x}^{4}+{x}^{2}+2}}}}+{\frac{16601\,\sqrt{2}}{2332400}\sqrt{1-{\frac{{x}^{2}}{2}}}\sqrt{{x}^{2}+1}{\it EllipticPi} \left ({\frac{x\sqrt{2}}{2}},-{\frac{10}{7}},i\sqrt{2} \right ){\frac{1}{\sqrt{-{x}^{4}+{x}^{2}+2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-x^{4} + x^{2} + 2}}{{\left (5 \, x^{2} + 7\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-x^{4} + x^{2} + 2}}{125 \, x^{6} + 525 \, x^{4} + 735 \, x^{2} + 343}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- \left (x^{2} - 2\right ) \left (x^{2} + 1\right )}}{\left (5 x^{2} + 7\right )^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-x^{4} + x^{2} + 2}}{{\left (5 \, x^{2} + 7\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]